import { Component, OnInit } from '@angular/core';
import { MessageService } from '../message.service';

@Component({
    selector: 'app-message',
    templateUrl: './message.component.html',
    styleUrls: ['./message.component.css']
})
export class MessageComponent implements OnInit {

    // tip: ng build --prod
    // tip： https://stackoverflow.com/questions/47487875/angular-bind-public-private-properties
    constructor(public service: MessageService) { }

    ngOnInit() { }
}
